<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
	<class name="Insesoft.BusinessEntities.Vendedor,Insesoft.BusinessEntities" table="Vendedor">

		<id name="Id" column="Id" type="Int32" unsaved-value="0">
			<generator class="native"/>
		</id>
		<many-to-one name="Empresa" column="EmpId" class="Insesoft.BusinessEntities.Empresa,Insesoft.BusinessEntities" />
		<property column="Nombre" type="String" name="Nombre" not-null="true" length="50" />
		<property column="Email" type="String" name="Email" length="50" />
		<property column="Telefono" type="String" name="Telefono" length="20" />
		<property column="Beeper" type="String" name="Beeper" length="20" />
		
	</class>
</hibernate-mapping>
